package org.springframework.boot.autoconfigure.mock.model;

/**
 * @author: hooware
 * @Date: 2021/12/26 18:46
 * @Description: mock注解元信息
 */
public class MockResMeta {

    /**
     * 指定需要mock的数据路径或者json response数据
     */
    private String value;

    /**
     * 获取mock响应的prepare类
     */
    private Class<?> clazz;

    /**
     * 获取mock响应的prepare类方法
     */
    private String method;

    /**
     * 获取mock响应的prepare类方法参数数组
     */
    private String[] params;

    /**
     * mock响应返回值类型
     */
    private Class<?> returnType;

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public Class<?> getClazz() {
        return clazz;
    }

    public void setClazz(Class<?> clazz) {
        this.clazz = clazz;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String[] getParams() {
        return params;
    }

    public void setParams(String[] params) {
        this.params = params;
    }

    public Class<?> getReturnType() {
        return returnType;
    }

    public void setReturnType(Class<?> returnType) {
        this.returnType = returnType;
    }
}
